import entryStore from '@/store/entry';
import { request } from '@/service/request/request';

export const getEntries = async () => {
    try {
        const res = await request('/user/richText/get-all', null);
		entryStore.setEntries(res);
    } catch (err) {
        throw err;
    }
};
